import request from '@/utils/request'

export default{
  getPage(page,limit){
    return request.get(`/admin/product/baseTrademark/${page}/${limit}`)
  },
  //保存
  save(tmForm){
    return request.post(`/admin/product/baseTrademark/save`,tmForm)
  },
  //编辑（更新）
  update(tmForm){
    return request.put(`/admin/product/baseTrademark/update`,tmForm)
  },
  //删除
  delete(id) {
    return request.delete(`/admin/product/baseTrademark/remove/${id}`)
  },
  // 获取品牌下拉数据
  getTrademarkList() {
    return request.get(`/admin/product/baseTrademark/getTrademarkList`)
  }

}